var gulp = require('gulp'),
    browsersync = require('browser-sync');

gulp.task('auto', function() {
    var files = [
        './*.html',
        './js/*.js',
        './css/*.css',
        './pages/*.html'
    ];
    browsersync.init(files, {
        server: {
            baseDir: './'
        }
    })
});
gulp.task('default', gulp.series('auto'));